﻿<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>Home</title>
    <meta name="description" content="">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="robots" content="all,follow">
    <!-- Bootstrap CSS-->
    <link rel="stylesheet" href="/mall/vendor/bootstrap/css/bootstrap.min.css">
    <!-- Font Awesome CSS-->
    <link rel="stylesheet" href="/mall/vendor/font-awesome/css/font-awesome.min.css">
    <!-- Google fonts - Roboto -->
    <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:100,300,400,700">
    <!-- owl carousel-->
    <link rel="stylesheet" href="/mall/vendor/owl.carousel/assets/owl.carousel.css">
    <link rel="stylesheet" href="/mall/vendor/owl.carousel/assets/owl.theme.default.css">
    <!-- theme stylesheet-->
    <link rel="stylesheet" href="/mall/css/style.default.css" id="theme-stylesheet">
    <!-- Custom stylesheet - for your changes-->
    <link rel="stylesheet" href="/mall/css/custom.css">
    <!-- Favicon-->
    <link rel="shortcut icon" href="/mall/favicon.png">
    <!-- Tweaks for older IEs-->
    <!--[if lt IE 9]>
    <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
    <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script><![endif]-->
</head>

<body>
<header class="header mb-5" th:replace="mall/topbar::head">
</header>
<div id="all">
    <div id="content">
        <div class="container">
            <div class="row">
                <div class="col-md-12">
                    <div id="main-slider" class="owl-carousel owl-theme">
                        <div class="item"><img src="/mall/img/main-slider1.jpg" alt="" class="img-fluid"></div>
                        <div class="item"><img src="/mall/img/main-slider2.jpg" alt="" class="img-fluid"></div>
                        <div class="item"><img src="/mall/img/main-slider3.jpg" alt="" class="img-fluid"></div>
                        <div class="item"><img src="/mall/img/main-slider4.jpg" alt="" class="img-fluid"></div>
                    </div>
                    <!-- /#main-slider-->
                </div>
            </div>
        </div>
        <!--
    *** ADVANTAGES HOMEPAGE ***
    _________________________________________________________
    -->
        <div id="advantages">
            <div class="container">
                <div class="row mb-4">
                    <div th:each="class : ${classify}" class="col-md-4">
                        <div class="box clickable d-flex flex-column justify-content-center mb-0 h-100">
                            <div class="icon"><i class="fa fa-heart"></i></div>
                            <h3>
                                <a th:href="@{/MallGoods/ToClassify(classifyId=${class.classifyId})}"
                                   th:text="${class.classifyName}">礼物款</a>
                            </h3>
                            <p class="mb-0">没有能拒绝在值得纪念的时刻收到花束</p>
                        </div>
                    </div>
                </div>
                <!-- /.row-->
            </div>
            <!-- /.container-->
        </div>
        <!-- *** 导航结束 END ***-->
        <!--
    *** 热门精选 ***
    _________________________________________________________
    -->
        <div id="hot">
            <div class="box py-4">
                <div class="container">
                    <div class="row">
                        <div class="col-md-12">
                            <h2 class="mb-0">每日推荐</h2>
                        </div>
                    </div>
                </div>
            </div>
            <div class="container">
                <div class="product-slider owl-carousel owl-theme">
                    <!--商品开始-->
                    <div th:each="good : ${goods}" class="item">
                        <div class="product">
                            <div class="flip-container">
                                <div class="flipper">
                                    <div class="front">
                                        <a th:href="@{/MallGoods/GoodsDetail(goodsId=${good.goodsId})}"><img
                                                th:src="'/Images' + ${good.goodsImg}" alt=""
                                                class="img-fluid"></a>
                                    </div>
                                    <div class="back">
                                        <a th:href="@{/MallGoods/GoodsDetail(goodsId=${good.goodsId})}"><img
                                                th:src="'/Images' + ${good.goodsImg}" alt=""
                                                class="img-fluid"></a>
                                    </div>
                                </div>
                            </div>
                            <a th:href="@{/MallGoods/GoodsDetail(goodsId=${good.goodsId})}" class="invisible"><img
                                    th:src="'/Images' + ${good.goodsImg}" alt=""
                                    class="img-fluid"></a>
                            <div class="text">
                                <h3><a th:text="${good.goodsName}"
                                       th:href="@{/MallGoods/GoodsDetail(goodsId=${good.goodsId})}">商品名称</a></h3>
                                <p th:text="${good.goodsPrice} + 元" class="price">
                                    <del></del>
                                    $143.00
                                </p>
                            </div>
                            <!-- /.text-->
                        </div>
                        <!-- /.product-->
                    </div>
                    <!--商品结束-->
                </div>
                <!-- /.container-->
            </div>
            <!-- /#hot-->
            <!-- *** HOT END ***-->
        </div>
        <!--*** 热门精选 ***-->

        <div id="hot">
            <div class="box py-4">
                <div class="container">
                    <div class="row">
                        <div class="col-md-12">
                            <h2 class="mb-0">本周热卖</h2>
                        </div>
                    </div>
                </div>
            </div>
            <div class="container">
                <div class="product-slider owl-carousel owl-theme">
                    <!--商品开始-->
                    <div th:each="good : ${goodsOrderBy}" class="item">
                        <div class="product">
                            <div class="flip-container">
                                <div class="flipper">
                                    <div class="front">
                                        <a th:href="@{/MallGoods/GoodsDetail(goodsId=${good.goodsId})}"><img
                                                th:src="'/Images' + ${good.goodsImg}" alt=""
                                                class="img-fluid"></a>
                                    </div>
                                    <div class="back">
                                        <a th:href="@{/MallGoods/GoodsDetail(goodsId=${good.goodsId})}"><img
                                                th:src="'/Images' + ${good.goodsImg}" alt=""
                                                class="img-fluid"></a>
                                    </div>
                                </div>
                            </div>
                            <a th:href="@{/MallGoods/GoodsDetail(goodsId=${good.goodsId})}" class="invisible"><img
                                    th:src="'/Images' + ${good.goodsImg}" alt=""
                                    class="img-fluid"></a>
                            <div class="text">
                                <h3><a th:text="${good.goodsName}"
                                       th:href="@{/MallGoods/GoodsDetail(goodsId=${good.goodsId})}">商品名称</a></h3>
                                <p th:text="${good.goodsPrice}  + 元" class="price">
                                    <del></del>
                                    $143.00
                                </p>
                            </div>
                            <!-- /.text-->
                        </div>
                        <!-- /.product-->
                    </div>
                    <!-- /.product-slider-->
                </div>
                <!-- /.container-->
            </div>
            <!-- /#hot-->
            <!-- *** HOT END ***-->
        </div>
    </div>
</div>
<!--
*** FOOTER ***
_________________________________________________________
-->
<div id="footer" th:replace="mall/footerbar::foot">
</div>
<script src="/mall/vendor/jquery/jquery.min.js"></script>
<script src="/mall/vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
<script src="/mall/vendor/jquery.cookie/jquery.cookie.js">
</script>
<script src="/mall/vendor/owl.carousel/owl.carousel.min.js"></script>
<script src="/mall/vendor/owl.carousel2.thumbs/owl.carousel2.thumbs.js"></script>
<script src="/mall/js/front.js"></script>
<style>
    .copyrights {
        text-indent: -9999px;
        height: 0;
        line-height: 0;
        font-size: 0;
        overflow: hidden;
    }
</style>
<div class="copyrights" id="links20210126">
    Collect from <a href="http://www.cssmoban.com/" title="网站模板">模板之家</a>
    <a href="http://cooco.net.cn/" title="组卷网">组卷网</a>
</div>

</body>

</html>